package com.cqupt.sendMes.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("pre_date")
public class PreDate {
    @TableId(type = IdType.AUTO)
    private Integer id;
    //日期
    private String date;
    //特殊日期的描述
    private String dateDec;
    //特殊日期的对象人ID
    private String userId;
    //特殊日期的对象人姓名
    private String username;
    //特殊日期状态
    private Integer status;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime createTime;
    //更新时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime updateTime;
}
